home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 February
/
EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso
/
earcd
/
program
/
gtld3656.lha
/
GadUtil
/
Examples
/
BetterTest-C
/
led.asm
< prev
next >
Wrap
Assembly Source File
|
1994-12-26
|
229b
|
18 lines
xdef _LightState
xdef _ToggleLED
section code
_LightState:
tst.w 6(sp) ; Check state
beq.s setoff
bclr #1,$bfe001
rts
setoff:
bset #1,$bfe001
rts
_ToggleLED:
bchg #1,$bfe001
rts
end